package com.ssy.wireless.mapper;

import com.ssy.wireless.entity.LocalResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface LocalResourceMapper {

    int deleteByPrimaryKey(Long id);

    int insert(LocalResource record);

    LocalResource selectByPrimaryKey(Long id);

    int updateByPrimaryKey(LocalResource record);

    List<LocalResource> select(@Param("params") Map<String, Object> params);

    Integer selectTotal(@Param("params") Map<String, Object> params);

    List<LocalResource> selectStatistics(@Param("params") Map<String, Object> params);
}